package org.nmgyjt.springboot.beans.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@ApiModel("部门查询对象")
@Data
public class CsSystemOrgSelectBean {

    @NotEmpty(message = "单位/组织名称为必填项")
    @ApiModelProperty(required = false, value = "管理员的单位/组织名称", dataType = "string")
    private String orgName;

    @ApiModelProperty(required = false, value = "管理员的科室/机构下的内设机构", dataType = "string")
    private String office;

    @NotEmpty(message = "前端传参菜单ID不允许为空")
    @ApiModelProperty(required = true, value = "菜单ID", dataType = "string")
    private String menuID;

    @ApiModelProperty(required = false, value = "菜单名称", dataType = "string")
    private String menuName;

    @ApiModelProperty(required = true, value = "管理员的用户 ID/手机号", dataType = "string")
    private String createdBy;

    @ApiModelProperty(required = false, value = "行政区划编码(当前管理员的行政区划编码)", dataType = "string")
    private String areaCode;

    @ApiModelProperty(required = false, value = "行政区划名称(指挥体系是必须传)", dataType = "string")
    private String areaName;

    @ApiModelProperty(required = false, value = "管理员姓名", dataType = "string")
    private String name;

    @ApiModelProperty(required = false, value = "查询的管理员的手机号", dataType = "string")
    private String phone;

    @ApiModelProperty(required = false, value = "查询的详情的部门 ID", dataType = "string")
    private String orgId;

    @ApiModelProperty(required = false, value = "资源ID:根据标签过滤资源目标", dataType = "string")
    private String sourceId;
}
